//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#define C_SYMBOL(symbol)    _##symbol

#define CODEINIT    .text.init
#define DATAINIT    .data.init

#define INIT_STACK      0x10001000

.extern C_SYMBOL(ArmLoaderStartup)
.global C_SYMBOL(mainCRTStartup)

.section CODEINIT
C_SYMBOL(mainCRTStartup):
	ldr	sp, =INIT_STACK
	mov	r0, r1
	bl	C_SYMBOL(ArmLoaderStartup)
die:
	b	die



